package object.model;

public class MySQL_TableDDL {
	private String Table;
	private String CreateTable;
	private TableType type;
	private String DropStatement;
	
	public MySQL_TableDDL(String table, TableType type) {
		super();
		Table = table;
		this.type = type;
		this.DropStatement = "DROP " + type.name() + " IF EXISTS `" + table + "`";
	}	
	public String getDropStatement() {
		return DropStatement;
	}
	public String getTable() {
		return Table;
	}
	public String getCreateTable() {
		return CreateTable;
	}
	public void setCreateTable(String createTable) {
		CreateTable = createTable;
	}
	
}
